package com.mvity.framework.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mvity.framework.common.base.BaseEntity;

/**
 * 角色信息表
 * 
 * @author vity
 * @date 2012-5-10
 * @mail vity.1215@gmail.com
 */
@Entity
@Table(name = "system_role")
public class SystemRole extends BaseEntity {

	private static final long serialVersionUID = 7105558547542275250L;

	/**
	 * 角色名称
	 */
	@Column(name = "role_name", length = 100, nullable = false)
	private String roleName;

	/**
	 * 角色说明
	 */
	@Column(name = "role_desc", length = 1000)
	private String roleDesc;

	/**
	 * 是否系统内置角色
	 */
	@Column(name = "is_system", length = 5, nullable = false)
	private String isSystem;

	/**
	 * 返回 roleName 的值
	 * 
	 * @return roleName
	 */
	public String getRoleName() {
		return roleName;
	}

	/**
	 * 设置 roleName 的值
	 * 
	 * @param roleName
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	/**
	 * 返回 roleDesc 的值
	 * 
	 * @return roleDesc
	 */
	public String getRoleDesc() {
		return roleDesc;
	}

	/**
	 * 设置 roleDesc 的值
	 * 
	 * @param roleDesc
	 */
	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	/**
	 * 返回 isSystem 的值
	 * 
	 * @return isSystem
	 */
	public String getIsSystem() {
		return isSystem;
	}

	/**
	 * 设置 isSystem 的值
	 * 
	 * @param isSystem
	 */
	public void setIsSystem(String isSystem) {
		this.isSystem = isSystem;
	}

}
